Log in Register Dashboard Temp Share Shortlinks Frames API

HTMLify

script.js
Views: 201 | Author: cody
const labels = document.querySelectorAll(".form-control label");

labels.forEach((label) => {
  label.innerHTML = label.innerText
    .split("")
    .map(
      (letter, idx) =>
        `<span style="transition-delay:${idx * 50}ms">${letter}</span>`
    )
    .join("");
});

Comments